import Vue from 'vue'
import Router from 'vue-router'
// import LookBabeil from '@/views/LookBabeil'
// import LookHome from '@/views/LookHome'
// import LookIndex from '@/views/LookIndex'
// import LookNum from '@/views/LookNum'
// import LookVideo from '@/views/LookVideo'
// import LookForum from '@/views/LookForum'

Vue.use(Router)

const LookBabeil = () => require.ensure([],require => require("@/views/LookBabeil"),"LookBabeil")
const LookHome = () => require.ensure([],require => require("@/views/LookHome"),"LookHome")
const LookIndex = () => require.ensure([],require => require("@/views/LookIndex"),"LookIndex")
const LookNum = () => require.ensure([],require => require("@/views/LookNum"),"LookNum")
const LookVideo = () => require.ensure([],require => require("@/views/LookVideo"),"LookVideo")
const LookForum = () => require.ensure([],require => require("@/views/LookForum"),"LookForum")

export default new Router({
  routes: [
    {
      path: '/',
      name: 'LookHome',
      component:LookHome,
    },
    {
      path: '/babeil',
      name: 'LookBabeil',
      component: LookBabeil
    },
    {
      path: '/index',
      name: 'LookIndex',
      component: LookIndex
    },
    {
      path: '/num',
      name: 'LookNum',
      component: LookNum
    },
    {
      path: '/video',
      name: 'LookVideo',
      component: LookVideo
    },
    {
      path: '/forum',
      name: 'LookForum',
      component: LookForum
    },

  ]
})
